<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>用户列表</title>
</head>
<body>
	<table border="1">
		<thead>
			<tr>
				<th>ID</th>
				<th>用户名</th>
				<th>年龄</th>
				<th>性别</th>
			</tr>
		</thead>
		<tbody>
				<tr th:each="user:${userList}">
					<td th:text="${user.id }"></td>
					<td th:text="${user.userName }"></td>
					<td th:text="${user.age }"></td>
					<td th:text="${user.sex }"></td>
				</tr>
		</tbody>
	</table>
</body>
</html>